package com.lcifn.springmvc.config;

import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.XmlWebApplicationContext;
import org.springframework.web.servlet.support.AbstractDispatcherServletInitializer;

public class DispatcherServletWebApplicationInitializer {//extends AbstractDispatcherServletInitializer{


	protected String[] getServletMappings() {
		return new String[] {"/"};
	}

	protected WebApplicationContext createServletApplicationContext() {
		XmlWebApplicationContext cxt = new XmlWebApplicationContext();
        cxt.setConfigLocation("");
        return cxt;
	}

	protected WebApplicationContext createRootApplicationContext() {
		return null;
	}

}
